-- CALC_WOODEN_NOSE_DESC

-- 计算木头鼻子的属性描述
-- @param user 玩家对象
-- @param classId 装备id
return function(desc, props, classId, isEquiped)
    local noseSize = ME.user:queryAttrib("nose_size");
    local noseProps;

    if classId == 8255 then
        noseProps = {
            [10] = {200, "attack", 3, -1,},
            [20] = {200, "attack", 3, -1,},
            [30] = {200, "attack", 3, -1,},
            [40] = {200, "attack", 3, -1,},
            [50] = {41, "remote", 250, -1,},
        };
    else
        noseProps = {
            [10] = {200, "attack", 6, -1,},
            [30] = {200, "attack", 6, -1,},
            [50] = {41, "remote", 250, -1,},
            [70] = {41, "remote", 250, -1,},
            [90] = {41, "remote", 250, -1,},
            [99] = {43, "attack", 300, -1,},
        };
    end

    desc = string.gsub(getLocStr("wooden_nose_desc1"), "{size}", noseSize) .. "\n";
    local keys = table.keys(noseProps);
    table.sort(keys);

    for _, size in ipairs(keys) do
        local prop = noseProps[size];
        local propDesc = string.gsub(getLocStr("wooden_nose_desc2"), "{size}", size);
        propDesc = propDesc ..PropM.getPropDesc(prop);
        desc = desc .. propDesc .. "\n";
    end

    return desc;
end